package part3.student;

public class Info {


    private int stu_id;
    private String stu_name;
    private String stu_sex;
    private int stu_age;
    private int chinese;
    private int math;
    private int english;
    private String stu_addrese;

    public int getStu_id() {
        return stu_id;
    }
    public void setStu_id(int stu_id) {
        this.stu_id = stu_id;
    }
    public String getStu_name() {
        return stu_name;
    }
    public void setStu_name(String stu_name) {
        this.stu_name = stu_name;
    }
    public String getStu_sex() {
        return stu_sex;
    }
    public void setStu_sex(String stu_sex) {
        this.stu_sex = stu_sex;
    }
    public int getStu_age() {
        return stu_age;
    }
    public void setStu_age(int stu_age) {
        this.stu_age = stu_age;
    }
    public int getChinese() {
        return chinese;
    }
    public void setChinese(int chinese) {
        this.chinese = chinese;
    }
    public int getMath() {
        return math;
    }
    public void setMath(int math) {
        this.math = math;
    }
    public int getEnglish() {
        return english;
    }
    public void setEnglish(int english) {
        this.english = english;
    }
    public String getStu_address() {
        return stu_addrese;
    }
    public void setStu_address(String stu_address) {
        this.stu_addrese = stu_address;
    }

    public double getAvgScose(){
        return (math+chinese+english)/3;

    }

    public int getSunScose(){
        return math+chinese+english;

    }


}
